home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 30
/
PC Gamer IT CD 30 1-2.iso
/
MOTS
/
GAMEDATA
/
RESOURCE
/
JKMRES.GOO
/
cog_thing_proj_image.cog
< prev
next >
Wrap
Text File
|
1998-02-25
|
782b
|
43 lines
# Jedi Knight Missions Cog Script
#
# thing_proj_image.cog
#
# Cog to manage informing the engine of the creation
# and destruction of a force projection dummy.
#
# [RF]
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved
# ==========================================================
symbols
message created
message removed
end
# ==========================================================
code
created:
// Tell the ai to start worrying about this thing.
if (!IsMulti())
aiSetDistractor(GetSenderRef());
return;
removed:
// Tell the ai that the thing is gone.
if (!IsMulti())
{
//print("Removing Distractor!");
aiSetDistractor(-1);
}
return;
end
# ==========================================================